package com.pro.staffmanage.mapper;

import com.pro.staffmanage.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: Haotian Cui
 * @Date: 2022/7/29 - 07 - 29 - 21:26
 * @Description: com.pro.staffmanage.mapper
 * @Project: staffmanagen
 * @version: 1.0
 */
@Repository
@Mapper
public interface EmployeeMapper {
    
    List<Employee> queryAllEmployee();

    Employee queryEmployeeById(Integer id);

    Integer addEmployee(Employee employee);

    Integer updateEmployee(Employee employee);

    Integer deleteEmployee(Integer id);
    
}
